﻿using Newtonsoft.Json;
using STHPMS1.ICore.I_Entity.Info;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace STHPMS1.Web.W_Model
{
    /// <summary>
    /// 行政区域编码模型
    /// </summary>
    public class RegionCodeModel : IRegionCodeInfo
    {
        public string state { get; set; }
        public Hashtable attributes { get; set; }
        public int id { get; set; }
        public string text { get; set; }
        public IEnumerable<RegionCodeModel> children { get; set; }
        [JsonIgnore]

        public IEnumerable<IRegionCodeInfo> child { get { return children; } }
    }
}